package com.test.service.impl;

import java.util.List;

import com.test.dao.PriviledgeDao;
import com.test.domain.Priviledge;
import com.test.service.PriviledgeService;

public class PriviledgeServiceImpl implements PriviledgeService{
	private PriviledgeDao priviledgeDao;
	
	public PriviledgeDao getPriviledgeDao() {
		return priviledgeDao;
	}

	public void setPriviledgeDao(PriviledgeDao priviledgeDao) {
		this.priviledgeDao = priviledgeDao;
	}

	public List<Priviledge> findAll() {
		// TODO Auto-generated method stub
		return priviledgeDao.findAll();
	}

	public List<Priviledge> findByIds(Integer[] priviledgeIds) {
		// TODO Auto-generated method stub
		return priviledgeDao.getByIds(priviledgeIds);
	}

	public List<Priviledge> findTopList() {
		// TODO Auto-generated method stub
		return priviledgeDao.findTopList();
	}

	public List<String> findAllPriviledgeUrls() {
		// TODO Auto-generated method stub
		return priviledgeDao.findAllPriviledgeUrls();
	}

}
